package com.gm.dao.rate;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.gm.model.po.Rate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IRateDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Rate record);

    int insertSelective(Rate record);

    Rate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Rate record);

    int updateByPrimaryKey(Rate record);

    PageList<Rate> getRateList(@Param("pageBounds")PageBounds pageBounds);

    public List<Rate> getRateAll();
}